package com.xiaominfo.oss.spring.boot.starter;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author lien
 * @Date 2019/12/24 16:10
 * @Description 配置文件
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = OSSServerProperties.OSS_SERVER_PREFIX)
public class OSSServerProperties {

    /***
     * 服务器前缀
     */
    public static final String OSS_SERVER_PREFIX="oss-server";


    private String endpoint;

    /**
     * appid
     */
    private String appid;

    /**
     * appsecret
     */
    private String appsecret;

    /**
     * 程序名称
     */
    private String application;

}
